/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    position: relative;
    margin-bottom: 30px;
}

.header-bg {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1596422846546-75f0f6f76f66?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); */
    background: #06c;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 0 10px 10px;
}

.header-bg h1 {
    font-size: 2.5em;
    margin: 0;
}

.header-bg p {
    font-size: 1.2em;
    margin: 10px 0 0;
}

/* 问答部分样式 */
.faq-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.faq-section h2 {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-top: 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1.1em;
}

.toggle-icon {
    font-size: 1.5em;
    font-weight: bold;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 1000px;
}

.answer-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    display: block;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-bg h1 {
        font-size: 2em;
    }
    
    .header-bg p {
        font-size: 1em;
    }
    
    .container {
        padding: 10px;
    }
    
    .faq-section {
        padding: 15px;
    }
    
    .answer-img {
        height: 150px;
    }
}